/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package deatax.state;

import deatax.GameData;
import deatax.network.Client;
import javax.media.opengl.GLAutoDrawable;

/**
 *
 * @author pson
 */
public class OpeningState extends GameState {
    
    public OpeningState(GameData data) {
        super("Opening", data);
    }

    @Override
    public void finish() {
        Client.get().getControl().changeGameState("MainMenu");
    }

    @Override
    public void display(GLAutoDrawable glad) {
        finish();
    }
}
